package com.smartao.base.setting;

import org.apache.struts2.convention.annotation.Result;
import org.apache.struts2.convention.annotation.Results;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

import com.smartao.core.mvc.BaseAction;
@Controller
@Scope("prototype")
@Results({ @Result(name = "success", location="setting.jsp"), 
		@Result(name = "security", location="setting-security.jsp")})
public class SettingAction extends BaseAction{

	private static final long serialVersionUID = 6571325320782613792L;
	
	@Override
	public String execute(){
		return SUCCESS;
	}
	
	/**
	 * 安全设置
	 * @return
	 */
	public String security(){
		return "security";
	}

}
